package com.gupaoedu.task.pattern.proxy.userservicecglib;

public class TestCglib {
    public static void main(String[] args) {
        try{
            UserServiceImpl cglib  = (UserServiceImpl) new UserServiceCglib().getInstance(UserServiceImpl.class);
            cglib.addUser();
        }catch (Exception e){
            e.printStackTrace();
        }
    }
}
